﻿using System;
using System.Windows;
using PureMVC.Interfaces;
using GameEngine.Model.Data;
using System.Collections.Generic;

namespace GameEngine.Model
{
    public class IResourceDataProxyConstants
    {
        //public const string THINGCHANGED_NOTIFICATION = "ThingDataProxyChanged";
        //public const string THINGCHANGEDHEIGHT_NOTIFICATIONTYPE = "ThingDataProxyHeightChanged";
        //public const string MAPPOSITIONCHANGED_NOTIFICATIONTYPE = "DataProxyMapPositionChanged";
        //public const string THINGCHANGEDPOSITION_NOTIFICATIONTYPE = "ThingDataProxyPositionChanged";
        public static string CreateDataProxyName(IResourceVOId id)
        {
            return id.Value + "_resourceDataProxy";
        }

        public static string CreateDataProxyName(IResourceVO vo)
        {
            return CreateDataProxyName(vo.Id);
        }
    }
    public interface IResourceDataProxy : IDataProxy
    {
        //string Name { get; }
        IResourceVO VO { get; }
        object Container { get; set; }
    }    
}